import request from '@/utils/request'

// 查询简历列表
export function listResume(query) {
  return request({
    url: '/product/resume/list3',
    method: 'get',
    params: query
  })
}

// 查询简历详细
export function getResume(resumeId) {
  return request({
    url: '/product/resume/getInfo3/' + resumeId,
    method: 'get'
  })
}

// 新增简历
export function addResume(data) {
  return request({
    url: '/product/resume/add3',
    method: 'post',
    data: data
  })
}

// 修改简历
export function updateResume(data) {
  return request({
    url: '/product/resume/edit3',
    method: 'put',
    data: data
  })
}

// 删除简历
export function delResume(resumeId) {
  return request({
    url: '/product/resume/remove3/' + resumeId,
    method: 'delete'
  })
}
